import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:niuren_demo/configs/Colors_util.dart';
import 'package:niuren_demo/view/text/text_style.dart';

class ApiAccountTitle extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      margin: EdgeInsets.symmetric(horizontal: 16,vertical: 8),
      padding: EdgeInsets.symmetric(horizontal: 16,vertical: 18),
      decoration: BoxDecoration(
        color: ColorsUtil.hexColor(0xC0984E),
        borderRadius: BorderRadius.circular(5),
      ),
      child: Row(

        children: [
          Icon(Icons.supervised_user_circle_sharp,color: Colors.white,size: 35,),
          SizedBox(width: 5,),
          Expanded(child: Text_style(
            data: "注册账户",
            color: Colors.white,
            fontSize: 16,
            weight: FontWeight.bold,
          ),),
          Text_style(
            data: "注册新的API账户",
            color: ColorsUtil.hexColor(0xD9D9D9),
            fontSize: 12,
          ),
          Icon(Icons.chevron_right,color: Colors.white,size: 30,),
        ],
      ),
    );
  }
}
